package com.cx.mapper;

import com.cx.pojo.Member;
import com.cx.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserInfoMapper {

    List<Member> selectAllMember();

    String selectMemberNameByLevel(int level);

    Integer selectNextRewardByLevel(int level);

    User selectUser(int id);

    int updateUser(User user);




}
